#include "Base.h"
#include "InputManager.h"


	


CInputManager::~CInputManager()
{
}


void CInputManager::Init()
{
	for (int i = 0; i < MAX_KB_KEYS; ++i)
	{
		m_KeyState[i] = false;
		if (i < MAX_MOUSE_BUTTONS) m_MouseButtonState[i] = false;
	}
}



void	CInputManager::SetKB_KeyState(unsigned char _key, bool _state)	
{ 
	if (_key<MAX_KB_KEYS) m_KeyState[_key] = _state;
	//else LOGGER 
}

bool	CInputManager::GetKB_KeyState(unsigned char _key) const				
{
	if (_key<MAX_KB_KEYS)	return m_KeyState[_key];
	//else LOGGER
}

void	CInputManager::SetMouseButton(unsigned char _button, bool _state)	
{ 
	m_MouseButtonState[_button] = _state;
}

void	CInputManager::SetMouseDeltas(unsigned char _axis, unsigned int _delta) const
{ 
	 

}

bool CInputManager::GetMouseButtonState(unsigned char _key) const
{
	return true;
}